<?php /* Smarty version 2.6.18, created on 2017-05-26 11:09:50
         compiled from mem_uinfo.html */ ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>会员中心</title>
		<link rel="icon" type="image/x-icon" href="nomain88/images/index/favicon.ico" />
		<link rel="stylesheet" href="../css/default/jquery-ui.css">
        <link rel="stylesheet" href="../css/default/master.css">
        <link rel="stylesheet" href="../css/default/style.css">
        <link rel="stylesheet" href="../css/default/center.css">
        <link rel="stylesheet" href="../css/default/margin.css">
        <link rel="stylesheet" href="../css/default/popup.css">
        <link rel="stylesheet" href="../css/default/font-awesome.min.css">
        
 <script language="javascript" src="../js/jquery-1.8.3.min.js"></script>
        <script type="text/javascript" src="../js/jquery-ui.js"></script>
        <script type="text/javascript" src="../js/laydate.min.js"></script>
        
             <link rel="stylesheet" href="../css/default/laydate/need/laydate.css">
         <link rel="stylesheet" href="../css/default/laydate/molv/laydate.css">
    </head>
<body>
<script type="text/javascript" id="myjs">
var js=1;
var sss="mem_uinfo";
</script>
			<div class="content">
<div class="memberheader">
	<div class="account-info">
		<div class="user-icon">
			<img src="../css/default/img/user-icon.png">
		</div>
		<div class="user-info">
			<h3 class="account-greetings">
				<script language="javaScript">
					now = new Date(), hour = now.getHours()
					if (hour < 6) {
						document.write("凌晨好")
					} else if (hour < 9) {
						document.write("早上好")
					} else if (hour < 12) {
						document.write("上午好")
					} else if (hour < 14) {
						document.write("中午好")
					} else if (hour < 17) {
						document.write("下午好")
					} else if (hour < 19) {
						document.write("傍晚好")
					} else if (hour < 22) {
						document.write("晚上好")
					} else {
						document.write("夜里好")
					}
				</script>
				，<span><?php echo $this->_tpl_vars['xing']; ?>
 </span>
			</h3>
			<p></p>
			<ul>
				<li>真实姓名： <span> <?php echo $this->_tpl_vars['tname']; ?>
 </span></li>

			</ul>
		</div>
	</div>
</div>				<div class="membersubnavi">
                      		<div class="subnavi blue">
                            	个人资料
                                <div class="subnaviarrow"></div>
                            </div>
                            <div class="subnavi blue">
                            	<a href="member.php?xtype=notices">消息中心</a>
                            </div>
               	</div>
				<div class="account-content-container">
<div class="account-content">
						<h3 class="title">个人资料 <small style="margin-left: 10px;">
						提款时只能用真实姓名操作，绑定后就无法修改哦，<a target="_blank" href="<?php echo $this->_tpl_vars['kfurl']; ?>
">如需修改请联系客服</a><BR />
                        填写真实资料，逢年过节时，我们可能给忠实会员派送小礼物哦！
						</small> </h3>
						<div class="security-setting">
							<table class="table">
								<tbody>
									<tr>
										<td class="align-right-col">姓名：</td>
										<td>
											<?php echo $this->_tpl_vars['tname']; ?>

										</td>
									</tr>
									<tr>
										<td class="align-right-col">性别：</td>
										<td colspan="3">
											<select name="sex" id="sex" class="province floatleft">
											<option <?php if ($this->_tpl_vars['sex'] == '男'): ?>selected<?php endif; ?> value="男">男</option>
											<option <?php if ($this->_tpl_vars['sex'] == '女'): ?>selected<?php endif; ?> value="女">女</option>
											</select>
										</td>
									</tr>
									<tr>
										<td class="align-right-col">出生年月：</td>
										<td>
											<input id="birthday" type="text" class="textfield1 laydate-icon" value="<?php echo $this->_tpl_vars['birthday']; ?>
" onclick="laydate()">
										</td>
									</tr>
									<tr>
										<td class="align-right-col">手机号码：</td>
										<td><input id="tel" type="text" class="textfield1" value="<?php echo $this->_tpl_vars['tel']; ?>
"></td>
									</tr>
									<tr>
										<td class="align-right-col">QQ：</td>
										<td><input id="qq" type="text" class="textfield1" value="<?php echo $this->_tpl_vars['qq']; ?>
"></td>
									</tr>

									<tr>
										<td class="align-right-col">省市区：</td>
										<td>
											<input id="shengshi" type="text" class="textfield1" value="<?php echo $this->_tpl_vars['shengshi']; ?>
" style="width:250px">
										</td>
									</tr>
									<tr>
										<td class="align-right-col">详细地址：</td>
										<td><input id="street" type="text" class="textfield1" value="<?php echo $this->_tpl_vars['street']; ?>
" style="width:250px"></td>
									</tr>
									<tr>
										<td class="align-right-col">收货人：</td>
										<td><input id="shr" type="text" class="textfield1" value="<?php echo $this->_tpl_vars['shr']; ?>
"></td>
									</tr>


			
									<tr class="last-row">
										<td>&nbsp;</td>
										<td colspan="3">
											<button class="btn btn-blue edit" >保存</button>
										</td>
									</tr>
								</tbody>
							</table>
						</div>

					</div>
				</div>	
				
	<div id="popup-verifyemail" style="display:none">
		<div class="popupinternal">
			<div class="steps">
				<div class="substeps">
					<ul>
						<li class="step1 active"><p>输入邮箱地址</p></li>
						<li class="step2"><p>填写验证码</p></li>
						<li><p>完成</p></li>
					</ul>
				</div>
				<table class="table">
					<tbody>
						<tr id="mailPage">
							<td style="width:17%;">邮箱地址：</td>
							<td><input type="text" class="form-control" id="txtEmail"></td>
							<td>邮箱可用于找回密码</td>
						</tr>
						<tr style="display:none" id="mailCodePage">
							<td style="width:17%;">验证码：</td>
							<td><input type="text" class="form-control" id="txtEmailCode"></td>
							<td><input type="button" class="get_mail submitbtn3" value="点击获取" style="width:160px;" id="get_mail"></td>
						</tr>
						<tr>
							<td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰邮件。</td>
						</tr>

						<tr>
							<td colspan="3" class="merged-cell">
							<input id="btnCheckMail" type="button" class="submitbtn3" value="下一步" onclick="checkUserMail();">
							<input id="btnCheckMailCode" type="button" class="submitbtn3" value="下一步" style="display:none" onclick="bindMail();">
							</td>
						</tr>

					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<div id="popup-verifyeditemail" style="display:none">
		<div class="popupinternal">
			<div class="steps">
				<div class="substeps">
					<ul>
						<li class="step1"><p>输入邮箱地址</p></li>
						<li class="step2 active"><p>填写验证码</p></li>
						<li><p>完成</p></li>
					</ul>
				</div>
				<table class="table">
					<tbody>
						<tr>
							<td style="width:17%;">绑定邮箱：</td>
							<td>2342@qq.com</td>
							<td></td>
						</tr>
						<tr>
							<td style="width:17%;">验证码：</td>
							<td><input type="text" class="form-control" id="txtEmailCode1"></td>
							<td><input type="button" class="get_unbindmail submitbtn3" style="width:160px;" value="点击获取"></td>
						</tr>
						<tr>
							<td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰邮件。</td>
						</tr>

						<tr>
							<td colspan="3" class="merged-cell">
							<input id="btnEditMail" type="button" class="submitbtn3" value="下一步" onclick="editEmail();">
							</td>
						</tr>

					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<div id="popup-verifymobile" style="display:none">
		<div class="popupinternal">
			<div class="steps">
				<div class="substeps">
					<ul>
						<li class="step1 active"><p>输入手机号码</p></li>
						<li class="step2"><p>填写验证码</p></li>
						<li><p>完成</p></li>
					</ul>
				</div>
				<table class="table">
					<tbody>
						<tr id="mobilePage">
							<td style="width:17%;">手机号码：</td>
							<td><input type="text" class="form-control" id="txtMobile"></td>
							<td></td>
						</tr>
						<tr style="display:none" id="mobileCodePage">
							<td style="width:17%;">验证码：</td>
							<td><input type="text" class="form-control" id="txtMobileCode"></td>
							<td><input type="button" class="get_mobile submitbtn3" value="点击获取" style="width:160px;" id="get_mobile"></td>
						</tr>
						<tr>
							<td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
						</tr>

						<tr>
							<td colspan="3" class="merged-cell">
							<input id="btnCheckMobile" type="button" class="submitbtn3" value="下一步" onclick="checkUserMobile();">
							<input id="btnCheckMobileCode" type="button" class="submitbtn3" value="下一步" style="display:none" onclick="bindMobile();">
							</td>
						</tr>

					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<div id="popup-verifyeditmobile" style="display:none">
		<div class="popupinternal">
			<div class="steps">
				<div class="substeps">
					<ul>
						<li class="step1"><p>输入手机号码</p></li>
						<li class="step2 active"><p>填写验证码</p></li>
						<li><p>完成</p></li>
					</ul>
				</div>
				<table class="table">
					<tbody>
						<tr>
							<td style="width:17%;">手机号码：</td>
							<td></td>
							<td></td>
						</tr>
						<tr>
							<td style="width:17%;">验证码：</td>
							<td><input type="text" class="form-control" id="txtMobileCode1"></td>
							<td><input type="button" class="get_unbindmobile submitbtn3" style="width:160px;" value="点击获取"></td>
						</tr>
						<tr>
							<td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
						</tr>

						<tr>
							<td colspan="3" class="merged-cell">
							<input id="btnEditMobile" type="button" class="submitbtn3" value="下一步" onclick="editMobile();">
							</td>
						</tr>

					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<div id="popup-verifywechat" style="display:none">
		<div class="popupinternal">
			<div class="steps">
				<div class="substeps">
					<ul>
						<li class="step1 active"><p>输入微信号</p></li>
					</ul>
				</div>
				<table class="table">
					<tbody>
						<tr id="wehcatPage">
							<td style="width:17%;">微信号：</td>
							<td><input type="text" class="form-control" id="txtWechat"></td>
							<td></td>
						</tr>
						<tr style="display:none" id="wechatCodePage">
							<td style="width:17%;">验证码：</td>
							<td><input type="text" class="form-control" id="txtWechatCode"></td>
							<td><input type="button" class="get_wechat submitbtn3" value="点击获取" style="width:160px;" id="get_wechat"></td>
						</tr>
						<tr>
							<td colspan="3" class="merged-cell">我们不会泄漏任何用户信息，以及发送骚扰短信。</td>
						</tr>
						<tr>
							<td colspan="3" class="merged-cell">
							<input id="btnCheckWechat" type="button" class="submitbtn3" value="绑定" onclick="checkUserWechat();">
							</td>
						</tr>

					</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<div id="popup-verifycontact" style="display:none">
		<div class="popupinternal">
			<table class="table">
				<tbody>
					<tr>
						<td style="width:17%;">旧密码：</td>
						<td><input id="oldPassword" type="password" style="width: 279px;" class="form-control"></td>
					</tr>
					<tr>
						<td style="width:17%;">新密码：</td>
						<td><input name="password" type="password" style="width: 279px;" class="form-control"></td>
					</tr>
					<tr>
						<td style="width:17%;">确认密码：</td>
						<td><input id="ckPassword" type="password" style="width: 279px;" class="form-control"></td>
					</tr>
					<tr>
						<td colspan="2" class="merged-cell">
							<input type="button" class="submitbtn3" value="确认修改" onclick="changePassword()">
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<script type="text/javascript" src="/default/js/cash/bindmail.js"></script>
	<script type="text/javascript" src="/default/js/cash/bindmobile.js"></script>
	<script type="text/javascript" src="/default/js/cash/bindwechat.js"></script>
			</div>
</body>
</html>